package www.yingdi365.com.model;

import java.util.List;

/**
 * Created by zhangjiebo on 2017/9/5 0005.
 */
public class AppECard {
    /**
     * uuid : 8a2819175d2a6795015d30d23493047d
     * created : 2017-07-11T16:44:28.639+0800
     * modified : 2017-07-11T16:44:28.691+0800
     * creator : tesr
     * modifier : tesr
     * id : 20170711000001
     * name : 乞手巧，乞貌巧；乞心通，乞颜容；乞我爹娘千岁；乞我姊妹千万年；
     * preview : http://img.yingdi365.com/mk/admin/ecard/201707050001/bgImage1.jpg?imageMogr2/thumbnail/640x920|watermark/2/text/5Lme5omL5ben77yM5Lme6LKM5ben77yb77yM5Lme6aKc5a65CuS5nuaIkeeIueWomOWNg-S4h-Wyge-8m-S5nuaIkeWniuWmueWNg-S4h-W5tA==/fill/Izc0NTQ3Yg==/fontsize/520/gravity/North/dx/0/dy/715
     * bgImage : http://img.yingdi365.com/mk/admin/ecard/201707050001/bgImage1.jpg
     * type : festival
     * tmpl : {"uuid":null,"created":"2017-09-05T15:30:06.833+0800","modified":"2017-09-05T15:30:06.833+0800","creator":null,"modifier":null,"id":"201707050001","name":null,"preview":null,"bgImage":null,"published":null,"publishTime":null,"type":null,"width":null,"height":null,"texts":[]}
     * orgId : null
     * userId : null
     * width : 640
     * height : 920
     * texts : [{"x":107,"y":715,"font":null,"fontSize":"26","xDirection":"center","yDirection":"center","width":425,"height":64,"color":"#74547b","content":"乞手巧，乞貌巧；，乞颜容\n乞我爹娘千万岁；乞我姊妹千万年","lineHeight":"30","characterSpacing":"5","direction":"horizontal"}]
     */

    private String uuid;
    private String created;
    private String modified;
    private String creator;
    private String modifier;
    private String id;
    private String name;
    private String preview;
    private String bgImage;
    private String type;
    private AppECardTmpl tmpl;
    private Object orgId;
    private Object userId;
    private int width;
    private int height;
    private List<TextsBean> texts;
    private boolean isGuanLi =false;

    public boolean isGuanLi() {
        return isGuanLi;
    }

    public void setGuanLi(boolean guanLi) {
        isGuanLi = guanLi;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public String getModified() {
        return modified;
    }

    public void setModified(String modified) {
        this.modified = modified;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPreview() {
        return preview;
    }

    public void setPreview(String preview) {
        this.preview = preview;
    }

    public String getBgImage() {
        return bgImage;
    }

    public void setBgImage(String bgImage) {
        this.bgImage = bgImage;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public AppECardTmpl getTmpl() {
        return tmpl;
    }

    public void setTmpl(AppECardTmpl tmpl) {
        this.tmpl = tmpl;
    }

    public Object getOrgId() {
        return orgId;
    }

    public void setOrgId(Object orgId) {
        this.orgId = orgId;
    }

    public Object getUserId() {
        return userId;
    }

    public void setUserId(Object userId) {
        this.userId = userId;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public List<TextsBean> getTexts() {
        return texts;
    }

    public void setTexts(List<TextsBean> texts) {
        this.texts = texts;
    }

    public static class TmplBean {
        /**
         * uuid : null
         * created : 2017-09-05T15:30:06.833+0800
         * modified : 2017-09-05T15:30:06.833+0800
         * creator : null
         * modifier : null
         * id : 201707050001
         * name : null
         * preview : null
         * bgImage : null
         * published : null
         * publishTime : null
         * type : null
         * width : null
         * height : null
         * texts : []
         */

        private Object uuid;
        private String created;
        private String modified;
        private Object creator;
        private Object modifier;
        private String id;
        private Object name;
        private Object preview;
        private Object bgImage;
        private Object published;
        private Object publishTime;
        private Object type;
        private Object width;
        private Object height;
        private List<?> texts;

        public Object getUuid() {
            return uuid;
        }

        public void setUuid(Object uuid) {
            this.uuid = uuid;
        }

        public String getCreated() {
            return created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public String getModified() {
            return modified;
        }

        public void setModified(String modified) {
            this.modified = modified;
        }

        public Object getCreator() {
            return creator;
        }

        public void setCreator(Object creator) {
            this.creator = creator;
        }

        public Object getModifier() {
            return modifier;
        }

        public void setModifier(Object modifier) {
            this.modifier = modifier;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Object getName() {
            return name;
        }

        public void setName(Object name) {
            this.name = name;
        }

        public Object getPreview() {
            return preview;
        }

        public void setPreview(Object preview) {
            this.preview = preview;
        }

        public Object getBgImage() {
            return bgImage;
        }

        public void setBgImage(Object bgImage) {
            this.bgImage = bgImage;
        }

        public Object getPublished() {
            return published;
        }

        public void setPublished(Object published) {
            this.published = published;
        }

        public Object getPublishTime() {
            return publishTime;
        }

        public void setPublishTime(Object publishTime) {
            this.publishTime = publishTime;
        }

        public Object getType() {
            return type;
        }

        public void setType(Object type) {
            this.type = type;
        }

        public Object getWidth() {
            return width;
        }

        public void setWidth(Object width) {
            this.width = width;
        }

        public Object getHeight() {
            return height;
        }

        public void setHeight(Object height) {
            this.height = height;
        }

        public List<?> getTexts() {
            return texts;
        }

        public void setTexts(List<?> texts) {
            this.texts = texts;
        }
    }

    public static class TextsBean {
        /**
         * x : 107
         * y : 715
         * font : null
         * fontSize : 26
         * xDirection : center
         * yDirection : center
         * width : 425
         * height : 64
         * color : #74547b
         * content : 乞手巧，乞貌巧；，乞颜容
         * 乞我爹娘千万岁；乞我姊妹千万年
         * lineHeight : 30
         * characterSpacing : 5
         * direction : horizontal
         */

        private int x;
        private int y;
        private Object font;
        private String fontSize;
        private String xDirection;
        private String yDirection;
        private int width;
        private int height;
        private String color;
        private String content;
        private String lineHeight;
        private String characterSpacing;
        private String direction;

        public int getX() {
            return x;
        }

        public void setX(int x) {
            this.x = x;
        }

        public int getY() {
            return y;
        }

        public void setY(int y) {
            this.y = y;
        }

        public Object getFont() {
            return font;
        }

        public void setFont(Object font) {
            this.font = font;
        }

        public String getFontSize() {
            return fontSize;
        }

        public void setFontSize(String fontSize) {
            this.fontSize = fontSize;
        }

        public String getXDirection() {
            return xDirection;
        }

        public void setXDirection(String xDirection) {
            this.xDirection = xDirection;
        }

        public String getYDirection() {
            return yDirection;
        }

        public void setYDirection(String yDirection) {
            this.yDirection = yDirection;
        }

        public int getWidth() {
            return width;
        }

        public void setWidth(int width) {
            this.width = width;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }

        public String getColor() {
            return color;
        }

        public void setColor(String color) {
            this.color = color;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getLineHeight() {
            return lineHeight;
        }

        public void setLineHeight(String lineHeight) {
            this.lineHeight = lineHeight;
        }

        public String getCharacterSpacing() {
            return characterSpacing;
        }

        public void setCharacterSpacing(String characterSpacing) {
            this.characterSpacing = characterSpacing;
        }

        public String getDirection() {
            return direction;
        }

        public void setDirection(String direction) {
            this.direction = direction;
        }
    }
}
